package com.lu.statistics.entity.front.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.util.Date;

@Getter
@Setter
@ApiModel(description = "客户信息")
public class CustomerResponse {
    @ApiModelProperty(value = "序号")
    public Integer id;
    @ApiModelProperty(value = "客户名称")
    public String name;
    @ApiModelProperty(value = "客户电话")
    public String phone;
    @ApiModelProperty(value = "开席时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    public Date startTime;
    @ApiModelProperty(value = "预定日期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    public Date bookingTime;
    @ApiModelProperty(value = "就餐时长")
    public Integer mealDuration;
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    public Date endTime;
    @ApiModelProperty(value = "预定礼厅")
    public String bookingRoom;
    @ApiModelProperty(value = "预定名称")
    public String roomName;

    @ApiModelProperty(value = "预定类型")
    public String bookingType;
    @ApiModelProperty(value = "类型名称")
    public String typeName;
    @ApiModelProperty(value = "餐桌数量")
    public Integer tableCount;
    @ApiModelProperty(value = "预定金额")
    public BigDecimal bookingAmount;
    @ApiModelProperty(value = "预留订金")
    public BigDecimal deposit;
    @ApiModelProperty(value = "客户状态")
    public String status;
    @ApiModelProperty(value = "创建人id")
    public Integer createId;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    public Date createTime;
    @ApiModelProperty(value = "备注")
    public String describes;
}
